<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>User management basic tests</title>

	<!-- CUSTOMIZATION: Make sure "../" URLs for href/src attributes are correct -->
	<link rel="stylesheet" type="text/css" href="../css/testplan.css" />
</head>

<body>
	<div class="navbar">
		<a href="./" title="show directory contents"><code>./</code> (show contents of this directory)</a>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<a href="../" title="show directory contents"><code>../</code> (show contents of parent directory)</a>
	</div>
	<hr />
	<h1 class="test_title">User management basic tests</h1>

	<h2 class="test_section">Login page</h2>
	<h3 class="steps_subsection">Steps</h3>
	<ol class="steps">
		<li>Clear your browser cache.</li>
		<li>Launch the Maqetta server such that the server requires a user login (i.e., do not run server with localInstall=true option).</li>
		<li>Browse to the Maqetta root URL <em>without the /welcome</em> 
				(e.g., <a href="http://localhost:8080/maqetta">http://localhost:8080/maqetta</a>, not http://localhost:8080/maqetta/welcome).</li>
	</ol>
	<h3 class="expectedResults_subsection">Expected results</h3>
	<ol class="expectedResults">
		<li>You should be redirected to the /maqetta/welcome page, where you should see the login page.
			If running the default build from maqetta.org/download, you should see a login screen that looks something like this:
			<ul>
				<li>"Please sign in", followed by Login and Password entry boxes</li>
				<li>New users - please sign up</li>
			</ul>
		</li>
	</ol>

	<h2 class="test_section">New user sign up</h2>
	<h3 class="steps_subsection">Steps</h3>
	<ol class="steps">
		<li>Clear your browser cache.</li>
		<li>With the login page showing (see previous section), click on the please sign up hyperlink</li>
		<li>You should now see four fields for new user signup: Login name, email, password and confirm password. Enter valid values for these fields and click the button to create a new user.</li>
	</ol>
	<h3 class="expectedResults_subsection">Expected results</h3>
	<ol class="expectedResults">
		<li>The Maqetta application should appear with its various palettes at left, right and bottom and a toolbar across the top.</li>
		<li>The right side of the toolbar should have your login name followed by a logout hyperlink.</li>
	</ol>

	<h2 class="test_section">Log out (continuation of previous testing steps)</h2>
	<h3 class="steps_subsection">Steps</h3>
	<ol class="steps">
		<li>Click the logout link</li>
	</ol>
	<h3 class="expectedResults_subsection">Expected results</h3>
	<ol class="expectedResults">
		<li>The login screen should reappear.</li>
	</ol>

	<h2 class="test_section">Existing user sign in</h2>
	<h3 class="steps_subsection">Steps</h3>
	<ol class="steps">
		<li>Clear your browser cache.</li>
		<li>If you are current logged into the Maqetta server as a user, click the logout hyperlink at the top right of the toolbar. 
				Else, launch the Maqetta server with user management activated (i.e., do not run server with localInstall=true option)
				and browse to the Maqetta root URL <em>without the user name</em> 
				(e.g., <a href="http://localhost:8080/maqetta">http://localhost:8080/maqetta</a>, not http://localhost:8080/maqetta/JohnSmith).</li>
		<li>Type in the user name and password for a user account that created previously and click on the Login button.</li>
	</ol>
	<h3 class="expectedResults_subsection">Expected results</h3>
	<ol class="expectedResults">
		<li>The Maqetta application should appear with its various palettes at left, right and bottom and a toolbar across the top.</li>
		<li>The right side of the toolbar should have your login name and, further to the right, by a logout hyperlink.</li>
	</ol>

</body>
</html>
